@import "header"; //头部
@import "main_header"; //主体头部
@import "user"; //用户盒子
@import "footer"; //尾部
@import "side"; //侧边导航
main {
    background-color: #f5f5f5;
}
header {
    height: 40px;
}
.main_header {
    margin-top: 41px;
    background-color: #fff;
}

.wrapper {
    width: 1250px;
    margin: 0 auto;
}
.hr {
    width: 100%;
    border-top: 1px solid #000;
}
//排序按钮
.filter_box {
    margin-left: 5px;
    span,
    a {
        color: #31373c;
        display: inline-block;
        height: 48px;
        line-height: 48px;
    }
    a {
        color: #848484;
        margin-left: 25px;
    }
    .active {
        color: #23ac38;
    }
}
/*商品列表*/
.list {
    width: 1250px;
    margin: 0 auto;
    padding-bottom: 20px;
    ul {
        width: 1250px;
        display: flex;
        flex-wrap: wrap;
        overflow: hidden;
        margin-left: -10px;
        li {
            width: 238px;
            height: 328px;
            margin: 10px 0 10px 10px;
            border: 1px solid #ccc;
            background-color: #fff;
            text-align: center;
            box-sizing: border-box;
            padding: 8px;

            div {
                width: 165px;
                height: 165px;
                margin: 0 auto;
                margin-top: 40px;
            }
            img {
                width: 100%;
            }
            p {
                font-size: 14px;
                color: #31373c;
                height: 24px;
                line-height: 24px;
                margin-top: 20px;
                overflow: hidden;
            }
            span {
                color: #fa5437;
                font-size: 14px;
                line-height: 34px;
            }
        }
        li:hover {
            border: 1px solid #fa5437;
        }
    }
}
